package com.azxcrm.common.constant;

public class RabbitmqConstants {
	//生产者-消费者 队列定义
		public static final String PRO_CONS_QUEUE = "myqueue";
		
		//发布-定义模式 消息队列定义
		public static final String PUB_SUB_QUEUE_ONE = "queue1";
		public static final String PUB_SUB_QUEUE_TWO = "queue2";
		public static final String PUB_SUB_EXCHANGE = "fanout";
		
		//直连交换机模式
		public static final String DIR_EXC_QUEUE_ONE = "directqueue1";
		public static final String DIR_EXC_QUEUE_TWO = "directqueue2";
		public static final String DIR_EXC_EXCHANGE = "direct";
		public static final String DIR_EXC_EXCHANGE_CHANNEL_ONE = "orange";
		public static final String DIR_EXC_EXCHANGE_CHANNEL_TWO = "black";
		public static final String DIR_EXC_EXCHANGE_CHANNEL_THREE = "green";
		
		//Topic-Exchange 模式 模糊匹配 CHANNEL
		public static final String TOP_EXC_QUEUE_ONE = "topicqueue1";
		public static final String TOP_EXC_QUEUE_TWO = "topicqueue2";
		public static final String TOP_EXC_EXCHANGE = "mytopic";
		public static final String TOP_EXC_EXCHANGE_CHANNEL_ONE = "*.orange.*";
		public static final String TOP_EXC_EXCHANGE_CHANNEL_TWO = "*.*.rabbit";
		public static final String TOP_EXC_EXCHANGE_CHANNEL_THREE = "lazy.#";
		// ============================================= 生产者-消费者 开始
}
